
import { Table } from 'antd';


const dataSource = [
    {
        key: '1',
        shangping: '胡彦斌',
        dadanjia: '100/箱',
        xiaodanjia: '20/瓶',
        kucun: '222',
        jine:999,

    },
    {
        key: '2',
        shangping: '许嵩',
        dadanjia: '200/箱',
        xiaodanjia: '20/瓶',
        kucun: '222',
        jine:999,
    },
];

const columns = [
    {
        title: '商品名称',
        dataIndex: 'shangping',
        key: 'shangping',
        width: 150,
    },

    {
        title: '大单位单价',
        dataIndex: 'dadanjia',
        key: 'dadanjia',
        width: 150,
    },
    {
        title: '数量',
        // dataIndex: 'dashuliang',
        key: 'dashuliang',
        render:(text,record)=>{
            return<div>
            <span>-</span><span>数量？</span><span>+</span>
            </div>
        },
        width: 150,
    },


    {
        title: '单价/小单位',
        dataIndex: 'xiaodanjia',
        key: 'xiaodanjia',
        width: 150,
    },
    {
        title: '数量',
        // dataIndex: 'xiaoshuliang',
        key: 'xiaoshuliang',
        render:(text,record)=>{
            return<div>
            <span>-</span><span>数量？</span><span>+</span>
            </div>
        },
        width: 150,
    },
    {
        title: '金额',
        dataIndex: 'jine',
        key: 'jine',
        width: 150,
    },
    {
        title: '操作',
        dataIndex: 'caozuo',
        key: 'caozuo',
        width: 150,
        render: (text, record) => {
            return <a href="#!">删除</a>
        }
    },
];
const AddOrderTabAdd = () => {

    return (
        <>
            {/* <span>搜索结果</span> */}

            <Table ellipsis dataSource={dataSource} columns={columns} />
            <>
            {/* 分页 */}
            </>
            
        </>
    )


}


export default AddOrderTabAdd;